package com.jxdinfo.hussar.activitidemo.bean;

import java.io.Serializable;
import java.sql.Timestamp;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 * <p>
 * 
 * </p>
 *
 * @author zzd
 * @since 2019-06-03
 */
@TableName("TDB_YJ_M_EVENT_REPORT_RECORD")
public class TdbYjMEventReportRecord extends Model<TdbYjMEventReportRecord> {

	private static final long serialVersionUID = 1L;

	/**
	 * 主键id
	 */
	@TableField("S_ID")
	private String sId;
	/**
	 * 创建用户id
	 */
	@TableField("S_USER_ID")
	private String sUserId;
	/**
	 * 创建用户id所属部门
	 */
	@TableField("S_USER_DEPT_ID")
	private String sUserDeptId;
	/**
	 * 上报部门id
	 */
	@TableField("S_TO_DEPT_ID")
	private String sToDeptId;
	/**
	 * 操作时间
	 */
	@TableField("S_DATE")
	private Timestamp sDate;
	/**
	 * 上报状态：11段上报局 12局上报总 21局退回段 22总退回局
	 */
	@TableField("S_STATE")
	private Integer sState;

	public String getsId() {
		return sId;
	}

	public void setsId(String sId) {
		this.sId = sId;
	}

	public String getsUserId() {
		return sUserId;
	}

	public void setsUserId(String sUserId) {
		this.sUserId = sUserId;
	}

	public String getsUserDeptId() {
		return sUserDeptId;
	}

	public void setsUserDeptId(String sUserDeptId) {
		this.sUserDeptId = sUserDeptId;
	}

	public String getsToDeptId() {
		return sToDeptId;
	}

	public void setsToDeptId(String sToDeptId) {
		this.sToDeptId = sToDeptId;
	}

	public Timestamp getsDate() {
		return sDate;
	}

	public void setsDate(Timestamp sDate) {
		this.sDate = sDate;
	}

	public Integer getsState() {
		return sState;
	}

	public void setsState(Integer sState) {
		this.sState = sState;
	}

	@Override
	protected Serializable pkVal() {
		return this.sId;
	}

	@Override
	public String toString() {
		return "TdbYjMEventReportRecord{" + "sId=" + sId + ", sUserId=" + sUserId + ", sUserDeptId=" + sUserDeptId
				+ ", sToDeptId=" + sToDeptId + ", sDate=" + sDate + ", sState=" + sState + "}";
	}
}
